<template>
    <div class="echart-title">
      <div class="echart-title-img" :style="{'width':imgWidth}">
        <img style="color: #00AEFF"  src="../../../assets/images/large-screen/echart-title-1.png" alt="">
      </div>
      <div class="echart-title-name">{{title}}</div>
    </div>
</template>

<script>
    export default {
        name: "echart-title",
      props:{
        title: String,
        imgWidth:{
          default:'6%'
        }
      }
    }
</script>

<style scoped>
  .echart-title {
    flex-basis: 15%;
    display: flex;
    align-items: center;
  }
  .echart-title-img img{
    width: 100%;
  }
.echart-title-name{
  font-size:1rem ;
  padding-left: 1rem;
  color: #00AEFF;
  font-weight: 600;
}

</style>
